export class baiduParser implements Parse {
  public parse(responseData: object): Array<string>{
    if (responseData['error_code']) {
      throw new Error(responseData['error_msg']);
    }
    const resultArray: Array<string> = [];
    for (let key in responseData) {
      resultArray.push(responseData[key]);
    }
    return resultArray;
  }
}
